﻿<mt:Window x:Class="TestApplication.TouchablePanelTest"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mt="http://schemas.multitouch.com/Multitouch/2008/04"
		xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
		xmlns:local="clr-namespace:TestApplication"
		Title="TouchablePanelTest">
	<!--<mt:TouchablePanel>
		<TextBlock Text="hello world" FontSize="24" FontWeight="Bold" Foreground="White"/>
		<TextBlock Text="hello world" FontSize="24" FontWeight="Bold" Foreground="White"/>
		<TextBlock Text="hello world" FontSize="24" FontWeight="Bold" Foreground="White"/>
		<local:TestUserControl Filename="{Binding Pictures[0]}" MinWidth="100" MinHeight="100"/>
	</mt:TouchablePanel>-->
    <ItemsControl ItemsSource="{Binding Pictures}">
		<ItemsControl.ItemTemplate>
			<DataTemplate>
				<!--<local:TestUserControl Filename="{Binding}" MinWidth="100" MinHeight="100"/>-->
				<Image Source="{Binding}" MinWidth="100" MinHeight="100"/>
			</DataTemplate>
		</ItemsControl.ItemTemplate>
		<ItemsControl.ItemsPanel>
			<ItemsPanelTemplate>
				<mt:TouchablePanel/>
			</ItemsPanelTemplate>
		</ItemsControl.ItemsPanel>
	</ItemsControl>
</mt:Window>
